#ifndef _MAIN_H
#define _MAIN_H

#define CALIBRATION_ADDR        0x08007800//30KB

#define SEGGER_DEBUG 1

#if SEGGER_DEBUG
    #include <stdio.h>
    #include "SEGGER_RTT.h"
    #define printf(...) SEGGER_RTT_printf(0,__VA_ARGS__)
#else
    #define printf(...) 
#endif

#endif

